package com.baosight.risk.service.xtzy.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @desc: 人员积分详细表
 * @author: CuiShiHao
 **/
@Data
@ApiModel
@Table(name = "T_XTZY_INTEGRAL_DETAIL")
public class XtzyIntegralDetail extends BaseEntity {

    /**
     * 员工编码
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    USER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("员工编码")
    @Column(name = "USER_CODE")
    private String userCode;

    /**
     * 员工姓名
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    USER_DESC
     * Nullable:  true
     */
    @ApiModelProperty("员工姓名")
    @Column(name = "USER_DESC")
    private String userDesc;

    /**
     * 来源功能编码
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    SOURCE_CODE
     * Nullable:  true
     */
    @ApiModelProperty("来源功能编码")
    @Column(name = "SOURCE_CODE")
    private String sourceCode;

    /**
     * 来源功能名称
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    SOURCE_NAME
     * Nullable:  true
     */
    @ApiModelProperty("来源功能名称")
    @Column(name = "SOURCE_NAME")
    private String sourceName;

    /**
     * 积分
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    INTEGRAL
     * Nullable:  true
     */
    @ApiModelProperty("积分")
    @Column(name = "INTEGRAL")
    private Integer integral;

    /**
     * 备注
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTZY_INTEGRAL_DETAIL
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private String rowOrder;

    private static final long serialVersionUID = 1L;
}
